/**
 * @description: 获取设备信息
 * @param {type}
 * @return {type}
 * @author: hch
 */
export function getSystem() {
    let system = uni.getSystemInfoSync()
    let scale = system.screenWidth / 375 //按照苹果留 375*667比例 其他型号手机等比例缩放 显示
    return {
        w: system.windowWidth,
        h: system.windowHeight,
        scale: scale,
        statusBarHeight: system.statusBarHeight
    }
}